<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title> amis可视化编辑器 </title>
</head>
<body>
<iframe src="http://192.168.0.108:80" onload="resizeIframe(this)"></iframe>
</body>

<script>
    function resizeIframe(obj) {
        obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px';
    }
</script>

<style>
    html, body {
        margin: 0;
        width: 100%;
        height: 100%;
    }

    iframe {
        margin: 0;
        width: 99.5%;
        height: 99%;
    }
</style>
</html>
